﻿using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;

namespace HYFloorPipeModule
{
	public partial class HYSurfaceTemperatureForm : System.Windows.Forms.Form
	{
		public HYSurfaceTemperatureForm()
		{
			this.InitializeComponent();
			new YJKProcessTools().ShowInTaskbarChange(this);
			base.Icon = Resource.YArchitechIcon;
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		private void HYSurfaceTemperatureForm_Load(object sender, EventArgs e)
		{
			DataTable dataTable = new DataTable();
			dataTable.Columns.Add(new DataColumn("区域特征"));
			dataTable.Columns.Add(new DataColumn("适宜范围"));
			dataTable.Columns.Add(new DataColumn("最高限值"));
			dataTable.Rows.Add(new object[]
			{
				"人员经常停留区",
				"25~27",
				"29"
			});
			dataTable.Rows.Add(new object[]
			{
				"人员短期停留区",
				"28~30",
				"32"
			});
			dataTable.Rows.Add(new object[]
			{
				"无人员停留区",
				"35~40",
				"42"
			});
			this.dgvTemperature.DataSource = dataTable;
			this.dgvTemperature.Columns[0].Width = 100;
			this.dgvTemperature.Columns[1].Width = 80;
			this.dgvTemperature.Columns[2].Width = 80;
		}
	}
}
